Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Nov 23, 2024

Currently fails with

/home/runner/work/semantic-conventions-java/semantic-conventions-java/semconv/src/main/java/io/opentelemetry/semconv/ErrorAttributes.java:39: warning: empty <p> tag
   * <p>
     ^
error: warnings found and -Werror specified
1 error
2 warnings

due to this empty <p>:

I checked the rendering and it looks like we can just remove that <p> and things render the same.

@jack-berg
Copy link
Member

I checked the rendering and it looks like we can just remove that

and things render the same.

See this related convo from when we switched to using weaver for codegen. @jsuereth ran into issues avoiding the empty <p> tags.

@trask
Copy link
Member Author

trask commented Dec 2, 2024

I think I've fixed this in weaver (open-telemetry/weaver#474), will revisit this PR after the next weaver release

@trask trask marked this pull request as ready for review January 27, 2025 20:24
@trask trask requested review from a team as code owners January 27, 2025 20:24
@trask trask merged commit 222df64 into open-telemetry:main Jan 27, 2025
23 checks passed
@trask trask deleted the fail-on-javadoc-warnings branch January 27, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants